package com.tjtt.tdm.system.bean;

/**
 * 角色表
 * @author liangjy
 */

public abstract class AbstractRole implements java.io.Serializable {

	// Fields

	private Long roleid;
	private String rolename;
	private String rolelabel;
	private String roledesc;
	private Long  parentid;//PARENTID
	private String userid;
	private String username;
	private String portletList;
	

	// Constructors

	public String getUserid() {
		return userid;
	}

	public void setUserid(String userid) {
		this.userid = userid;
	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public Long getParentid() {
		return parentid;
	}

	public void setParentid(Long parentid) {
		this.parentid = parentid;
	}

	// Constructors

	/** default constructor */
	public AbstractRole() {
	}

	/** minimal constructor */
	public AbstractRole(Long roleid) {
		this.roleid = roleid;
	}

	/** full constructor */
	public AbstractRole(Long roleid, String rolename, String rolelabel,
			String roledesc, Long  parentid,String userid,String username) {
		this.roleid = roleid;
		this.rolename = rolename;
		this.rolelabel = rolelabel;
		this.roledesc = roledesc;
		this.parentid = parentid;
		this.userid = userid;
		this.username = username;
	}

	// Property accessors

	public Long getRoleid() {
		return this.roleid;
	}

	public void setRoleid(Long roleid) {
		this.roleid = roleid;
	}

	public String getRolename() {
		return this.rolename;
	}

	public void setRolename(String rolename) {
		this.rolename = rolename;
	}

	public String getRolelabel() {
		return this.rolelabel;
	}

	public void setRolelabel(String rolelabel) {
		this.rolelabel = rolelabel;
	}

	public String getRoledesc() {
		return this.roledesc;
	}

	public void setRoledesc(String roledesc) {
		this.roledesc = roledesc;
	}

	public String getPortletList() {
		return portletList;
	}

	public void setPortletList(String portletList) {
		this.portletList = portletList;
	}
	
}